# -*- coding: utf-8 -*-
from import_export import resources
from .models import Good, GoodMultimedia


class GoodResource(resources.ModelResource):
    class Meta:
        model = Good
        fields = [field.name for field in Good._meta.fields]


class GoodMultimediaResource(resources.ModelResource):
    class Meta:
        model = GoodMultimedia
        fields = [field.name for field in GoodMultimedia._meta.fields]
        # exclude = []